<?php

	echo link_to($this->product->name, array('action' => 'viewproduct', 'id' => $this->product->id)), '<br />';
echo '<p id="imagenavigator">';
	foreach($this->product->productimages as $image) {
		echo link_to(image_tag("pico_full/{$image->name}"), "#{$image->name}");
	}
	echo "<br />";
echo '</p>';

?>
<noscript>
<?php
foreach($this->product->productimages as $image) {
		echo "<p>";
 		echo "<a name='{$image->name}'>",
 			image_tag("full/{$image->name}"),
 			"</a>";
			//echo link_to(image_tag("full/{$image->name}"), "", array("name" => $image->name));
		echo "</p>";
	}
?>
</noscript>